﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using QLTour.Dal;
namespace QLTour.Biz
{
    public class GiaTourBiz
    {
        public int MaGia { get; set; }
        public string Ten { get; set; }
        public DateTime BatDau { get; set; }
        public int GiaTri { get; set; }
        public DateTime KetThuc { get; set; }
        public Boolean DangApDung { get; set; }
        public string MaTour { get; set; }

        private GiaTourDal dal = new GiaTourDal();

        public Boolean Insert()
        {
            return dal.Insert(this);
        }
        public Boolean Update()
        {
            return dal.Update(this);
        }
        
    }
}
